home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Events
/
Tick.cp
< prev
next >
Wrap
Text File
|
1997-06-28
|
255b
|
18 lines
// Tick.cp
#ifndef Tick_h
#include "Tick.h"
#endif
#ifndef Assert_h
#include "Assert.h"
#endif
void Tick::WaitFor() const
{
// This is a pretty annoying way to wait for long periods
Assert( *this - Now() <= 300 );
while ( *this > Now() )
;
}